package com.open.launcher.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/5/22 0022.
 */

public class ChannelInfoBean {

    /**
     * code : 200
     * message : SUCCESS
     * data : [{"id":1,"name":"中央电视台","created_at":"2018-04-08 22:17:02","updated_at":"2018-04-08 22:53:56","channels":[{"id":14,"name":"cctv2","channel_id":"cctv2","iid":45,"item_mode":"1","sort":90,"status":"1","created_at":"2018-05-10 10:44:18","updated_at":"2018-05-23 00:07:17","channel_url":"http://47.104.211.108:281/live/cctv2.ts","epg":[{"time":"20180522","item":[{"time":"00:00","proname":"精品财经纪录-坦克大战19"},{"time":"00:18","proname":"经济半小时"},{"time":"00:48","proname":"财经人物周刊"},{"time":"01:35","proname":"创业英雄汇"},{"time":"02:33","proname":"深度财经"},{"time":"03:29","proname":"厨王争霸"},{"time":"04:24","proname":"一槌定音精编"},{"time":"04:30","proname":"一槌定音"},{"time":"05:28","proname":"生财有道"},{"time":"06:01","proname":"是真的吗"},{"time":"07:03","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:15","proname":"是真的吗"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:18","proname":"回家吃饭"},{"time":"15:29","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:15","proname":"财经人物周刊"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:16","proname":"生财有道"},{"time":"17:42","proname":"精品财经纪录-天涯厨王4"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"职场健康课"},{"time":"22:38","proname":"精品财经纪录-彩色二战8"},{"time":"23:31","proname":"精品财经纪录-城市之胃1"}]},{"time":"20180523","item":[{"time":"00:00","proname":"精品财经纪录-城市之胃1"},{"time":"正在播出","proname":"经济半小时"},{"time":"00:57","proname":"职场健康课"},{"time":"01:44","proname":"对话"},{"time":"02:39","proname":"一槌定音"},{"time":"03:38","proname":"中国经济大讲堂"},{"time":"04:21","proname":"观天下-小镇大观"},{"time":"04:26","proname":"魅力中国城"},{"time":"05:51","proname":"生财有道"},{"time":"06:22","proname":"交换空间"},{"time":"07:00","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:16","proname":"周末特供"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:16","proname":"周末特供"},{"time":"15:28","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:16","proname":"职场健康课"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:17","proname":"周末特供"},{"time":"17:43","proname":"周末特供"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"交换空间"},{"time":"22:33","proname":"精品财经纪录-彩色二战9"},{"time":"23:26","proname":"精品财经纪录-城市之胃2"}]},{"time":"20180524","item":[]}],"pivot":{"csort_id":1,"channel_id":14}}]},{"id":2,"name":"地方电视台","created_at":"2018-04-08 22:19:17","updated_at":"2018-04-08 22:19:17","channels":[]},{"id":9,"name":"其他","created_at":"2018-04-09 04:19:15","updated_at":"2018-04-09 04:19:15","channels":[]}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 中央电视台
         * created_at : 2018-04-08 22:17:02
         * updated_at : 2018-04-08 22:53:56
         * channels : [{"id":14,"name":"cctv2","channel_id":"cctv2","iid":45,"item_mode":"1","sort":90,"status":"1","created_at":"2018-05-10 10:44:18","updated_at":"2018-05-23 00:07:17","channel_url":"http://47.104.211.108:281/live/cctv2.ts","epg":[{"time":"20180522","item":[{"time":"00:00","proname":"精品财经纪录-坦克大战19"},{"time":"00:18","proname":"经济半小时"},{"time":"00:48","proname":"财经人物周刊"},{"time":"01:35","proname":"创业英雄汇"},{"time":"02:33","proname":"深度财经"},{"time":"03:29","proname":"厨王争霸"},{"time":"04:24","proname":"一槌定音精编"},{"time":"04:30","proname":"一槌定音"},{"time":"05:28","proname":"生财有道"},{"time":"06:01","proname":"是真的吗"},{"time":"07:03","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:15","proname":"是真的吗"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:18","proname":"回家吃饭"},{"time":"15:29","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:15","proname":"财经人物周刊"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:16","proname":"生财有道"},{"time":"17:42","proname":"精品财经纪录-天涯厨王4"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"职场健康课"},{"time":"22:38","proname":"精品财经纪录-彩色二战8"},{"time":"23:31","proname":"精品财经纪录-城市之胃1"}]},{"time":"20180523","item":[{"time":"00:00","proname":"精品财经纪录-城市之胃1"},{"time":"正在播出","proname":"经济半小时"},{"time":"00:57","proname":"职场健康课"},{"time":"01:44","proname":"对话"},{"time":"02:39","proname":"一槌定音"},{"time":"03:38","proname":"中国经济大讲堂"},{"time":"04:21","proname":"观天下-小镇大观"},{"time":"04:26","proname":"魅力中国城"},{"time":"05:51","proname":"生财有道"},{"time":"06:22","proname":"交换空间"},{"time":"07:00","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:16","proname":"周末特供"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:16","proname":"周末特供"},{"time":"15:28","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:16","proname":"职场健康课"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:17","proname":"周末特供"},{"time":"17:43","proname":"周末特供"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"交换空间"},{"time":"22:33","proname":"精品财经纪录-彩色二战9"},{"time":"23:26","proname":"精品财经纪录-城市之胃2"}]},{"time":"20180524","item":[]}],"pivot":{"csort_id":1,"channel_id":14}}]
         */

        private int id;
        private String name;
        private String created_at;
        private String updated_at;
        private List<ChannelsBean> channels;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public List<ChannelsBean> getChannels() {
            return channels;
        }

        public void setChannels(List<ChannelsBean> channels) {
            this.channels = channels;
        }

        public static class ChannelsBean {
            /**
             * id : 14
             * name : cctv2
             * channel_id : cctv2
             * iid : 45
             * item_mode : 1
             * sort : 90
             * status : 1
             * created_at : 2018-05-10 10:44:18
             * updated_at : 2018-05-23 00:07:17
             * channel_url : http://47.104.211.108:281/live/cctv2.ts
             * epg : [{"time":"20180522","item":[{"time":"00:00","proname":"精品财经纪录-坦克大战19"},{"time":"00:18","proname":"经济半小时"},{"time":"00:48","proname":"财经人物周刊"},{"time":"01:35","proname":"创业英雄汇"},{"time":"02:33","proname":"深度财经"},{"time":"03:29","proname":"厨王争霸"},{"time":"04:24","proname":"一槌定音精编"},{"time":"04:30","proname":"一槌定音"},{"time":"05:28","proname":"生财有道"},{"time":"06:01","proname":"是真的吗"},{"time":"07:03","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:15","proname":"是真的吗"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:18","proname":"回家吃饭"},{"time":"15:29","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:15","proname":"财经人物周刊"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:16","proname":"生财有道"},{"time":"17:42","proname":"精品财经纪录-天涯厨王4"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"职场健康课"},{"time":"22:38","proname":"精品财经纪录-彩色二战8"},{"time":"23:31","proname":"精品财经纪录-城市之胃1"}]},{"time":"20180523","item":[{"time":"00:00","proname":"精品财经纪录-城市之胃1"},{"time":"正在播出","proname":"经济半小时"},{"time":"00:57","proname":"职场健康课"},{"time":"01:44","proname":"对话"},{"time":"02:39","proname":"一槌定音"},{"time":"03:38","proname":"中国经济大讲堂"},{"time":"04:21","proname":"观天下-小镇大观"},{"time":"04:26","proname":"魅力中国城"},{"time":"05:51","proname":"生财有道"},{"time":"06:22","proname":"交换空间"},{"time":"07:00","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:16","proname":"周末特供"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:16","proname":"周末特供"},{"time":"15:28","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:16","proname":"职场健康课"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:17","proname":"周末特供"},{"time":"17:43","proname":"周末特供"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"交换空间"},{"time":"22:33","proname":"精品财经纪录-彩色二战9"},{"time":"23:26","proname":"精品财经纪录-城市之胃2"}]},{"time":"20180524","item":[]}]
             * pivot : {"csort_id":1,"channel_id":14}
             */

            private int id;
            private String name;
            private String channel_id;
            private int iid;
            private String item_mode;
            private int sort;
            private String status;
            private String created_at;
            private String updated_at;
            private String channel_url;
            private PivotBean pivot;
            private List<EpgBean> epg;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getChannel_id() {
                return channel_id;
            }

            public void setChannel_id(String channel_id) {
                this.channel_id = channel_id;
            }

            public int getIid() {
                return iid;
            }

            public void setIid(int iid) {
                this.iid = iid;
            }

            public String getItem_mode() {
                return item_mode;
            }

            public void setItem_mode(String item_mode) {
                this.item_mode = item_mode;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getChannel_url() {
                return channel_url;
            }

            public void setChannel_url(String channel_url) {
                this.channel_url = channel_url;
            }

            public PivotBean getPivot() {
                return pivot;
            }

            public void setPivot(PivotBean pivot) {
                this.pivot = pivot;
            }

            public List<EpgBean> getEpg() {
                return epg;
            }

            public void setEpg(List<EpgBean> epg) {
                this.epg = epg;
            }

            public static class PivotBean {
                /**
                 * csort_id : 1
                 * channel_id : 14
                 */

                private int csort_id;
                private int channel_id;

                public int getCsort_id() {
                    return csort_id;
                }

                public void setCsort_id(int csort_id) {
                    this.csort_id = csort_id;
                }

                public int getChannel_id() {
                    return channel_id;
                }

                public void setChannel_id(int channel_id) {
                    this.channel_id = channel_id;
                }
            }

            public static class EpgBean {
                /**
                 * time : 20180522
                 * item : [{"time":"00:00","proname":"精品财经纪录-坦克大战19"},{"time":"00:18","proname":"经济半小时"},{"time":"00:48","proname":"财经人物周刊"},{"time":"01:35","proname":"创业英雄汇"},{"time":"02:33","proname":"深度财经"},{"time":"03:29","proname":"厨王争霸"},{"time":"04:24","proname":"一槌定音精编"},{"time":"04:30","proname":"一槌定音"},{"time":"05:28","proname":"生财有道"},{"time":"06:01","proname":"是真的吗"},{"time":"07:03","proname":"第一时间"},{"time":"09:00","proname":"交易时间"},{"time":"10:00","proname":"中国财经报道"},{"time":"10:15","proname":"爱生活-美味厨房"},{"time":"10:30","proname":"消费主张"},{"time":"11:00","proname":"中国财经报道"},{"time":"11:15","proname":"是真的吗"},{"time":"11:25","proname":"回家吃饭"},{"time":"11:50","proname":"国际财经报道"},{"time":"12:30","proname":"生财有道"},{"time":"13:00","proname":"交易时间"},{"time":"15:00","proname":"中国财经报道"},{"time":"15:18","proname":"回家吃饭"},{"time":"15:29","proname":"经济半小时"},{"time":"16:00","proname":"中国财经报道"},{"time":"16:15","proname":"财经人物周刊"},{"time":"17:00","proname":"中国财经报道"},{"time":"17:16","proname":"生财有道"},{"time":"17:42","proname":"精品财经纪录-天涯厨王4"},{"time":"18:29","proname":"回家吃饭"},{"time":"18:55","proname":"生财有道"},{"time":"19:28","proname":"消费主张"},{"time":"20:00","proname":"经济半小时"},{"time":"20:30","proname":"经济信息联播"},{"time":"21:15","proname":"央视财经评论"},{"time":"21:45","proname":"中国福利彩票公益开奖"},{"time":"21:48","proname":"职场健康课"},{"time":"22:38","proname":"精品财经纪录-彩色二战8"},{"time":"23:31","proname":"精品财经纪录-城市之胃1"}]
                 */

                private String time;
                private List<ItemBean> item;

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }

                public List<ItemBean> getItem() {
                    return item;
                }

                public void setItem(List<ItemBean> item) {
                    this.item = item;
                }

                public static class ItemBean {
                    /**
                     * time : 00:00
                     * proname : 精品财经纪录-坦克大战19
                     */

                    private String time;
                    private String proname;

                    public String getTime() {
                        return time;
                    }

                    public void setTime(String time) {
                        this.time = time;
                    }

                    public String getProname() {
                        return proname;
                    }

                    public void setProname(String proname) {
                        this.proname = proname;
                    }
                }
            }
        }
    }
}
